<template>
    <div>
        mall
        {{ num }}
    </div>
</template>

<script>
export default {
    data() {
        return {
            num: 1
        }
    },
    mounted() {
        var that = this
        document.addEventListener('dblclick',function() {
            that.num++
        })
    },
    methods:{
        add() {

        }
    }
}
</script>

<style scoped>

</style>